//package com.sicong.common.security.handler;
//
//import com.sicong.common.core.utils.ResponseUtil;
//import com.sicong.common.core.utils.ResultUtil;
//import lombok.AllArgsConstructor;
//import org.springframework.security.core.Authentication;
//import org.springframework.security.web.authentication.logout.LogoutHandler;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//@AllArgsConstructor
//public class TokenLogoutHandler implements LogoutHandler {
//
//    @Override
//    public void logout(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Authentication authentication) {
//        ResponseUtil.out(httpServletResponse,ResultUtil.success());
//    }
//
//}
